<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: Sprite类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_sprite-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Sprite类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>精灵贴图  
 <a href="class_sprite.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_sprite_8h_source.html">Sprite.h</a>&gt;</code></p>
<div class="dynheader">
类 Sprite 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_sprite.png" usemap="#Sprite_map" alt=""/>
  <map id="Sprite_map" name="Sprite_map">
<area href="class_node.html" title="游戏渲染节点" alt="Node" shape="rect" coords="62,112,176,136"/>
<area href="class_i_animatable_object.html" title="可执行帧动画的接口" alt="IAnimatableObject" shape="rect" coords="248,112,362,136"/>
<area href="class_i_movable_object.html" title="可执行位移动作的接口" alt="IMovableObject" shape="rect" coords="0,56,114,80"/>
<area href="class_object.html" alt="Object&lt; Node &gt;" shape="rect" coords="124,56,238,80"/>
<area href="class_i_actable_object.html" title="可执行动作对象的接口" alt="IActableObject" shape="rect" coords="248,56,362,80"/>
<area href="class_i_actable_object.html" title="可执行动作对象的接口" alt="IActableObject" shape="rect" coords="0,0,114,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a372333cebe2fa3e31f51e7be4fd51028"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#a372333cebe2fa3e31f51e7be4fd51028">setSpriteFrame</a> (const SpriteFrameSharedPtr &amp;sprite_frame) override</td></tr>
<tr class="memdesc:a372333cebe2fa3e31f51e7be4fd51028"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置精灵的精灵帧  <a href="#a372333cebe2fa3e31f51e7be4fd51028">更多...</a><br /></td></tr>
<tr class="separator:a372333cebe2fa3e31f51e7be4fd51028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac415439586ac5adb7a8d847c09af6a46"><td class="memItemLeft" align="right" valign="top">virtual SpriteFrameSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#ac415439586ac5adb7a8d847c09af6a46">getSpriteFrame</a> () const override</td></tr>
<tr class="memdesc:ac415439586ac5adb7a8d847c09af6a46"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取精灵的精灵帧 结果可能为 NULL  <a href="#ac415439586ac5adb7a8d847c09af6a46">更多...</a><br /></td></tr>
<tr class="separator:ac415439586ac5adb7a8d847c09af6a46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac33063e401381da93e869f01db256cd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#ac33063e401381da93e869f01db256cd6">setAnchorPoint</a> (const <a class="el" href="class_vector2.html">Vector2</a> &amp;anchor)</td></tr>
<tr class="memdesc:ac33063e401381da93e869f01db256cd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置精灵的坐标锚点  <a href="#ac33063e401381da93e869f01db256cd6">更多...</a><br /></td></tr>
<tr class="separator:ac33063e401381da93e869f01db256cd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8accab430f9d90ae5117b57d67e32b84"><td class="memItemLeft" align="right" valign="top"><a id="a8accab430f9d90ae5117b57d67e32b84"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#a8accab430f9d90ae5117b57d67e32b84">~Sprite</a> ()</td></tr>
<tr class="memdesc:a8accab430f9d90ae5117b57d67e32b84"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构精灵对象 <br /></td></tr>
<tr class="separator:a8accab430f9d90ae5117b57d67e32b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbc84dcffb2798573556404a210d45df"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#adbc84dcffb2798573556404a210d45df">draw</a> (<a class="el" href="class_render.html">Render</a> *render, const <a class="el" href="class_matrix4_x4.html">Matrix4X4</a> &amp;transform) override</td></tr>
<tr class="memdesc:adbc84dcffb2798573556404a210d45df"><td class="mdescLeft">&#160;</td><td class="mdescRight">绘制这个节点  <a href="#adbc84dcffb2798573556404a210d45df">更多...</a><br /></td></tr>
<tr class="separator:adbc84dcffb2798573556404a210d45df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50385f72b0e8471312376525996227ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#a50385f72b0e8471312376525996227ae">setFlipH</a> (bool flip=false)</td></tr>
<tr class="memdesc:a50385f72b0e8471312376525996227ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置水平镜像  <a href="#a50385f72b0e8471312376525996227ae">更多...</a><br /></td></tr>
<tr class="separator:a50385f72b0e8471312376525996227ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa68ad73f4c7abfbd9d8a6bc5f5fe4bed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#aa68ad73f4c7abfbd9d8a6bc5f5fe4bed">setFlipV</a> (bool flip=false)</td></tr>
<tr class="memdesc:aa68ad73f4c7abfbd9d8a6bc5f5fe4bed"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置垂直镜像  <a href="#aa68ad73f4c7abfbd9d8a6bc5f5fe4bed">更多...</a><br /></td></tr>
<tr class="separator:aa68ad73f4c7abfbd9d8a6bc5f5fe4bed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_node"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_node')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_node.html">Node</a></td></tr>
<tr class="memitem:af5e3fa79300bf5f3f2f3ecae6e795a94 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="af5e3fa79300bf5f3f2f3ecae6e795a94"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#af5e3fa79300bf5f3f2f3ecae6e795a94">~Node</a> ()</td></tr>
<tr class="memdesc:af5e3fa79300bf5f3f2f3ecae6e795a94 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:af5e3fa79300bf5f3f2f3ecae6e795a94 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accff189524c62c6cb446cc19e3a79ab4 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#accff189524c62c6cb446cc19e3a79ab4">isVisible</a> () const</td></tr>
<tr class="memdesc:accff189524c62c6cb446cc19e3a79ab4 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否可见  <a href="class_node.html#accff189524c62c6cb446cc19e3a79ab4">更多...</a><br /></td></tr>
<tr class="separator:accff189524c62c6cb446cc19e3a79ab4 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8d9f6f838941a2a8ae18420757af158 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#ad8d9f6f838941a2a8ae18420757af158">setVisible</a> (bool visible)</td></tr>
<tr class="memdesc:ad8d9f6f838941a2a8ae18420757af158 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置是否可见  <a href="class_node.html#ad8d9f6f838941a2a8ae18420757af158">更多...</a><br /></td></tr>
<tr class="separator:ad8d9f6f838941a2a8ae18420757af158 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03fec6cbf6af7f2990d32aaa154dfe13 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a03fec6cbf6af7f2990d32aaa154dfe13">getLocalZOrder</a> () const</td></tr>
<tr class="memdesc:a03fec6cbf6af7f2990d32aaa154dfe13 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取局部的渲染顺序  <a href="class_node.html#a03fec6cbf6af7f2990d32aaa154dfe13">更多...</a><br /></td></tr>
<tr class="separator:a03fec6cbf6af7f2990d32aaa154dfe13 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99f202ede8832128fdefef065ad33083 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a99f202ede8832128fdefef065ad33083">setLoacalZOrder</a> (int32_t z)</td></tr>
<tr class="memdesc:a99f202ede8832128fdefef065ad33083 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置局部的渲染顺序  <a href="class_node.html#a99f202ede8832128fdefef065ad33083">更多...</a><br /></td></tr>
<tr class="separator:a99f202ede8832128fdefef065ad33083 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47300c4bf81173dce4c57ad4619ed3a4 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a47300c4bf81173dce4c57ad4619ed3a4">getGlobalZOrder</a> () const</td></tr>
<tr class="memdesc:a47300c4bf81173dce4c57ad4619ed3a4 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取全局的渲染顺序  <a href="class_node.html#a47300c4bf81173dce4c57ad4619ed3a4">更多...</a><br /></td></tr>
<tr class="separator:a47300c4bf81173dce4c57ad4619ed3a4 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7540ee0c821da1ba6e7eaa29190815f4 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a7540ee0c821da1ba6e7eaa29190815f4">setGlobalZOrder</a> (int32_t z)</td></tr>
<tr class="memdesc:a7540ee0c821da1ba6e7eaa29190815f4 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置全局的渲染顺序  <a href="class_node.html#a7540ee0c821da1ba6e7eaa29190815f4">更多...</a><br /></td></tr>
<tr class="separator:a7540ee0c821da1ba6e7eaa29190815f4 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9158b82137f5ced3bc83a07626938184 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a9158b82137f5ced3bc83a07626938184">movePosition</a> (float dt_x, float dt_y)</td></tr>
<tr class="memdesc:a9158b82137f5ced3bc83a07626938184 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动节点的位置  <a href="class_node.html#a9158b82137f5ced3bc83a07626938184">更多...</a><br /></td></tr>
<tr class="separator:a9158b82137f5ced3bc83a07626938184 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a390cc35a6ae5d24346afe0baf8e2a031 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a390cc35a6ae5d24346afe0baf8e2a031">movePosition</a> (const <a class="el" href="class_vector2.html">Vector2</a> &amp;dt_pos)</td></tr>
<tr class="memdesc:a390cc35a6ae5d24346afe0baf8e2a031 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动节点的位置  <a href="class_node.html#a390cc35a6ae5d24346afe0baf8e2a031">更多...</a><br /></td></tr>
<tr class="separator:a390cc35a6ae5d24346afe0baf8e2a031 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa23be53d56922c9ee20ff63ec296a1f7 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#aa23be53d56922c9ee20ff63ec296a1f7">setPosition</a> (float x, float y)</td></tr>
<tr class="memdesc:aa23be53d56922c9ee20ff63ec296a1f7 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置节点的位置  <a href="class_node.html#aa23be53d56922c9ee20ff63ec296a1f7">更多...</a><br /></td></tr>
<tr class="separator:aa23be53d56922c9ee20ff63ec296a1f7 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fe84278281a6b64799cac268171590f inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a0fe84278281a6b64799cac268171590f">setPosition</a> (const <a class="el" href="class_vector2.html">Vector2</a> &amp;new_pos) override</td></tr>
<tr class="memdesc:a0fe84278281a6b64799cac268171590f inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置节点的位置  <a href="class_node.html#a0fe84278281a6b64799cac268171590f">更多...</a><br /></td></tr>
<tr class="separator:a0fe84278281a6b64799cac268171590f inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49547717c15704eeee8d9e97c79cebe8 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a49547717c15704eeee8d9e97c79cebe8">setRotationR</a> (float radian)</td></tr>
<tr class="separator:a49547717c15704eeee8d9e97c79cebe8 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9375ecbd393492773edd2d4cb69a0c2 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="ab9375ecbd393492773edd2d4cb69a0c2"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setRotationA</b> (float angle)</td></tr>
<tr class="separator:ab9375ecbd393492773edd2d4cb69a0c2 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1431c97a57d0f20754c9a8c8ae547d41 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a1431c97a57d0f20754c9a8c8ae547d41"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setScalingX</b> (float sx)</td></tr>
<tr class="separator:a1431c97a57d0f20754c9a8c8ae547d41 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a0e7b481419b88fe20e957af0447df7 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a6a0e7b481419b88fe20e957af0447df7"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setScalingY</b> (float sy)</td></tr>
<tr class="separator:a6a0e7b481419b88fe20e957af0447df7 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5beedc257d3a9369abd7279ded0c369 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#af5beedc257d3a9369abd7279ded0c369">getPosition</a> () const override</td></tr>
<tr class="memdesc:af5beedc257d3a9369abd7279ded0c369 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取对象当前的位置  <a href="class_node.html#af5beedc257d3a9369abd7279ded0c369">更多...</a><br /></td></tr>
<tr class="separator:af5beedc257d3a9369abd7279ded0c369 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6092f1c0cd9bca624a9b5f9f1576288f inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a6092f1c0cd9bca624a9b5f9f1576288f"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getRoattionR</b> () const</td></tr>
<tr class="separator:a6092f1c0cd9bca624a9b5f9f1576288f inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2705c495fe52b2fd57797b6558f48ed inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="aa2705c495fe52b2fd57797b6558f48ed"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getRoattionA</b> () const</td></tr>
<tr class="separator:aa2705c495fe52b2fd57797b6558f48ed inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a304c854e1ffa39e13965d2ebc27f8899 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a304c854e1ffa39e13965d2ebc27f8899"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getScalingX</b> () const</td></tr>
<tr class="separator:a304c854e1ffa39e13965d2ebc27f8899 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af48b3072c99d16e52d4f3ed41a9da33b inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="af48b3072c99d16e52d4f3ed41a9da33b"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getScalingY</b> () const</td></tr>
<tr class="separator:af48b3072c99d16e52d4f3ed41a9da33b inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21f9783ff649e042792fb65ddfa52d48 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a21f9783ff649e042792fb65ddfa52d48"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isChangeTransformMat</b> () const</td></tr>
<tr class="separator:a21f9783ff649e042792fb65ddfa52d48 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac927278b527c2713962a02f6d71d9931 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="ac927278b527c2713962a02f6d71d9931"></a>
<a class="el" href="class_camera.html">Camera</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getCamera</b> () const</td></tr>
<tr class="separator:ac927278b527c2713962a02f6d71d9931 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2795773acddd4a6d9c14dd08a3cc046e inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a2795773acddd4a6d9c14dd08a3cc046e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setCamera</b> (<a class="el" href="class_camera.html">Camera</a> *c, bool is_recursion=true)</td></tr>
<tr class="separator:a2795773acddd4a6d9c14dd08a3cc046e inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e627821ffbf617990a8818f7e75b95d inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a9e627821ffbf617990a8818f7e75b95d">runAction</a> (ActionSharedPtr action)</td></tr>
<tr class="memdesc:a9e627821ffbf617990a8818f7e75b95d inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">运行一个动作  <a href="class_node.html#a9e627821ffbf617990a8818f7e75b95d">更多...</a><br /></td></tr>
<tr class="separator:a9e627821ffbf617990a8818f7e75b95d inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75dc27fcb97037ac61e5356940e467a7 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a75dc27fcb97037ac61e5356940e467a7">stopActionByName</a> (const std::wstring &amp;action_name)</td></tr>
<tr class="memdesc:a75dc27fcb97037ac61e5356940e467a7 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止一个动画，通过名字  <a href="class_node.html#a75dc27fcb97037ac61e5356940e467a7">更多...</a><br /></td></tr>
<tr class="separator:a75dc27fcb97037ac61e5356940e467a7 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8dcb7411237c0b599464be9159893e1 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">ActionSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#ab8dcb7411237c0b599464be9159893e1">getActionByName</a> (const std::wstring &amp;name)</td></tr>
<tr class="memdesc:ab8dcb7411237c0b599464be9159893e1 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过名字获取当前正在运行的动画  <a href="class_node.html#ab8dcb7411237c0b599464be9159893e1">更多...</a><br /></td></tr>
<tr class="separator:ab8dcb7411237c0b599464be9159893e1 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0214261d599299cdcb015d86e282abb6 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a0214261d599299cdcb015d86e282abb6">installListenerAtPosChangeBefore</a> (const std::function&lt; void(<a class="el" href="class_vector2.html">Vector2</a> &amp;future_position)&gt; &amp;call_func)</td></tr>
<tr class="memdesc:a0214261d599299cdcb015d86e282abb6 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">安装监听器在节点的位置即将改变时  <a href="class_node.html#a0214261d599299cdcb015d86e282abb6">更多...</a><br /></td></tr>
<tr class="separator:a0214261d599299cdcb015d86e282abb6 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22cfa916d1c5a359bc31653325db5469 inherit pub_methods_class_node"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a22cfa916d1c5a359bc31653325db5469">installListenerAtPosChangeAfter</a> (const std::function&lt; void(const <a class="el" href="class_vector2.html">Vector2</a> &amp;old_pos, const <a class="el" href="class_vector2.html">Vector2</a> &amp;now_pos)&gt; &amp;call_func)</td></tr>
<tr class="memdesc:a22cfa916d1c5a359bc31653325db5469 inherit pub_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">安装监听器在节点的位置改变之后  <a href="class_node.html#a22cfa916d1c5a359bc31653325db5469">更多...</a><br /></td></tr>
<tr class="separator:a22cfa916d1c5a359bc31653325db5469 inherit pub_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_object')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_object.html">Object&lt; Node &gt;</a></td></tr>
<tr class="memitem:a5cad887a20ddcd6b7fba1a2465409dd5 inherit pub_methods_class_object"><td class="memItemLeft" align="right" valign="top"><a id="a5cad887a20ddcd6b7fba1a2465409dd5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addChildren</b> (<a class="el" href="class_node.html">Node</a> *children)</td></tr>
<tr class="separator:a5cad887a20ddcd6b7fba1a2465409dd5 inherit pub_methods_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c1fc3c12c298b8319322df6d9b56285 inherit pub_methods_class_object"><td class="memItemLeft" align="right" valign="top"><a id="a6c1fc3c12c298b8319322df6d9b56285"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeChildren</b> (<a class="el" href="class_node.html">Node</a> *children)</td></tr>
<tr class="separator:a6c1fc3c12c298b8319322df6d9b56285 inherit pub_methods_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e5320dbb2c25bba2529531e4724b972 inherit pub_methods_class_object"><td class="memItemLeft" align="right" valign="top"><a id="a7e5320dbb2c25bba2529531e4724b972"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setParent</b> (<a class="el" href="class_node.html">Node</a> *parent)</td></tr>
<tr class="separator:a7e5320dbb2c25bba2529531e4724b972 inherit pub_methods_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14cfe934104f65fdfd8893067b6afaa0 inherit pub_methods_class_object"><td class="memItemLeft" align="right" valign="top"><a id="a14cfe934104f65fdfd8893067b6afaa0"></a>
<a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getParent</b> () const</td></tr>
<tr class="separator:a14cfe934104f65fdfd8893067b6afaa0 inherit pub_methods_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a9246531b2aee83f3aca98acf90808737"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#a9246531b2aee83f3aca98acf90808737">create</a> (const std::wstring &amp;file_name, <a class="el" href="class_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:a9246531b2aee83f3aca98acf90808737"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用图片创建一个精灵  <a href="#a9246531b2aee83f3aca98acf90808737">更多...</a><br /></td></tr>
<tr class="separator:a9246531b2aee83f3aca98acf90808737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1714066bf44d9043807e5459e600d08"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#aa1714066bf44d9043807e5459e600d08">create</a> (const std::shared_ptr&lt; <a class="el" href="class_sprite_frame.html">SpriteFrame</a> &gt; &amp;sprite_frame, <a class="el" href="class_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:aa1714066bf44d9043807e5459e600d08"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用精灵帧创建一个精灵  <a href="#aa1714066bf44d9043807e5459e600d08">更多...</a><br /></td></tr>
<tr class="separator:aa1714066bf44d9043807e5459e600d08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae2b104096fda21a0179fb686f86c1c5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#aae2b104096fda21a0179fb686f86c1c5">create</a> (const std::shared_ptr&lt; <a class="el" href="class_texture2_d.html">Texture2D</a> &gt; &amp;texture2D, const <a class="el" href="class_rect.html">Rect</a> &amp;des_rect_in_texture, <a class="el" href="class_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:aae2b104096fda21a0179fb686f86c1c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用 大块纹理 和 精灵在纹理中的矩形位置 创建精灵  <a href="#aae2b104096fda21a0179fb686f86c1c5">更多...</a><br /></td></tr>
<tr class="separator:aae2b104096fda21a0179fb686f86c1c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92aa267f938be35cc54d4e72ec49579b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#a92aa267f938be35cc54d4e72ec49579b">create</a> (const std::wstring texture_filename, const <a class="el" href="class_rect.html">Rect</a> &amp;des_rect_in_texture, <a class="el" href="class_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:a92aa267f938be35cc54d4e72ec49579b"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用图片创建精灵，并且指定精灵在图片中的区域  <a href="#a92aa267f938be35cc54d4e72ec49579b">更多...</a><br /></td></tr>
<tr class="separator:a92aa267f938be35cc54d4e72ec49579b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_node"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_node')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_node.html">Node</a></td></tr>
<tr class="memitem:a9525b77febde9f65fff098d6b292bd3f inherit pub_static_methods_class_node"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a9525b77febde9f65fff098d6b292bd3f">create</a> (<a class="el" href="class_node.html">Node</a> *parent)</td></tr>
<tr class="memdesc:a9525b77febde9f65fff098d6b292bd3f inherit pub_static_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建一个节点  <a href="class_node.html#a9525b77febde9f65fff098d6b292bd3f">更多...</a><br /></td></tr>
<tr class="separator:a9525b77febde9f65fff098d6b292bd3f inherit pub_static_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a438e2e055648af4b229b6e4e7e6d8155"><td class="memItemLeft" align="right" valign="top"><a id="a438e2e055648af4b229b6e4e7e6d8155"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#a438e2e055648af4b229b6e4e7e6d8155">Sprite</a> (<a class="el" href="class_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="memdesc:a438e2e055648af4b229b6e4e7e6d8155"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 <br /></td></tr>
<tr class="separator:a438e2e055648af4b229b6e4e7e6d8155"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade186a070e2d042fef69f22aae684ea4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#ade186a070e2d042fef69f22aae684ea4">initWithFile</a> (const std::wstring &amp;file_name)</td></tr>
<tr class="memdesc:ade186a070e2d042fef69f22aae684ea4"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用文件初始化  <a href="#ade186a070e2d042fef69f22aae684ea4">更多...</a><br /></td></tr>
<tr class="separator:ade186a070e2d042fef69f22aae684ea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26a66d4a5e5d1c000789e943e1ace18c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#a26a66d4a5e5d1c000789e943e1ace18c">initWithFile</a> (const std::wstring &amp;file_name, const <a class="el" href="class_rect.html">Rect</a> &amp;des_rect)</td></tr>
<tr class="memdesc:a26a66d4a5e5d1c000789e943e1ace18c"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用图片文件初始化  <a href="#a26a66d4a5e5d1c000789e943e1ace18c">更多...</a><br /></td></tr>
<tr class="separator:a26a66d4a5e5d1c000789e943e1ace18c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0ce3e71d3c09238c8799e6159fc6782"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#ae0ce3e71d3c09238c8799e6159fc6782">initWithSpriteFrame</a> (const std::shared_ptr&lt; <a class="el" href="class_sprite_frame.html">SpriteFrame</a> &gt; &amp;sf)</td></tr>
<tr class="memdesc:ae0ce3e71d3c09238c8799e6159fc6782"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用精灵帧初始化  <a href="#ae0ce3e71d3c09238c8799e6159fc6782">更多...</a><br /></td></tr>
<tr class="separator:ae0ce3e71d3c09238c8799e6159fc6782"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4234ccb5bbe119b7946c36285f949c7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#ae4234ccb5bbe119b7946c36285f949c7">initWithTexture</a> (const std::shared_ptr&lt; <a class="el" href="class_texture2_d.html">Texture2D</a> &gt; &amp;tex, const <a class="el" href="class_rect.html">Rect</a> &amp;des_rect)</td></tr>
<tr class="memdesc:ae4234ccb5bbe119b7946c36285f949c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用纹理初始化  <a href="#ae4234ccb5bbe119b7946c36285f949c7">更多...</a><br /></td></tr>
<tr class="separator:ae4234ccb5bbe119b7946c36285f949c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14dfd9c50fdbc8de56e22e3ede69375e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#a14dfd9c50fdbc8de56e22e3ede69375e">updateRenderResource</a> ()</td></tr>
<tr class="memdesc:a14dfd9c50fdbc8de56e22e3ede69375e"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新渲染资源  <a href="#a14dfd9c50fdbc8de56e22e3ede69375e">更多...</a><br /></td></tr>
<tr class="separator:a14dfd9c50fdbc8de56e22e3ede69375e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf733fd6a3c863f30013276e30adfbb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#aaf733fd6a3c863f30013276e30adfbb2">updateFilp</a> ()</td></tr>
<tr class="memdesc:aaf733fd6a3c863f30013276e30adfbb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新镜像  <a href="#aaf733fd6a3c863f30013276e30adfbb2">更多...</a><br /></td></tr>
<tr class="separator:aaf733fd6a3c863f30013276e30adfbb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3139784e38b5b9e67fa44e2705fa72b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#aa3139784e38b5b9e67fa44e2705fa72b">setTextureCoords</a> (const <a class="el" href="class_rect.html">Rect</a> &amp;sprite_rect_in_tex, <a class="el" href="struct_v2_c4_t2___quad.html">V2C4T2_Quad</a> *out_quad)</td></tr>
<tr class="memdesc:aa3139784e38b5b9e67fa44e2705fa72b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置纹理坐标 适用于 将多个精灵纹理打包一个大的纹理 通过 <code>sprit_rect</code> 确定纹理坐标  <a href="#aa3139784e38b5b9e67fa44e2705fa72b">更多...</a><br /></td></tr>
<tr class="separator:aa3139784e38b5b9e67fa44e2705fa72b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af47e87134f9d90ab03de3d90c01256b7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#af47e87134f9d90ab03de3d90c01256b7">setVertexCoords</a> (const <a class="el" href="class_rect.html">Rect</a> &amp;sprite_rect, <a class="el" href="struct_v2_c4_t2___quad.html">V2C4T2_Quad</a> *out_quad)</td></tr>
<tr class="memdesc:af47e87134f9d90ab03de3d90c01256b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置顶点坐标  <a href="#af47e87134f9d90ab03de3d90c01256b7">更多...</a><br /></td></tr>
<tr class="separator:af47e87134f9d90ab03de3d90c01256b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5f856a91f7cf23a72a58d7d1b5b3f0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprite.html#ab5f856a91f7cf23a72a58d7d1b5b3f0f">setTexture</a> (const std::shared_ptr&lt; <a class="el" href="class_texture2_d.html">Texture2D</a> &gt; &amp;texture)</td></tr>
<tr class="memdesc:ab5f856a91f7cf23a72a58d7d1b5b3f0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置纹理  <a href="#ab5f856a91f7cf23a72a58d7d1b5b3f0f">更多...</a><br /></td></tr>
<tr class="separator:ab5f856a91f7cf23a72a58d7d1b5b3f0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_node"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_node')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_node.html">Node</a></td></tr>
<tr class="memitem:a46ce276a945dec5084d31c5391be63c8 inherit pro_methods_class_node"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a46ce276a945dec5084d31c5391be63c8">Node</a> (<a class="el" href="class_node.html">Node</a> *parent)</td></tr>
<tr class="memdesc:a46ce276a945dec5084d31c5391be63c8 inherit pro_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造  <a href="class_node.html#a46ce276a945dec5084d31c5391be63c8">更多...</a><br /></td></tr>
<tr class="separator:a46ce276a945dec5084d31c5391be63c8 inherit pro_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e13f860348d97a5d0426b998510fc84 inherit pro_methods_class_node"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a4e13f860348d97a5d0426b998510fc84">init</a> () override</td></tr>
<tr class="memdesc:a4e13f860348d97a5d0426b998510fc84 inherit pro_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化  <a href="class_node.html#a4e13f860348d97a5d0426b998510fc84">更多...</a><br /></td></tr>
<tr class="separator:a4e13f860348d97a5d0426b998510fc84 inherit pro_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00bc8885eea7179e1c2cce2d7292754d inherit pro_methods_class_node"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_node.html#a00bc8885eea7179e1c2cce2d7292754d">visit</a> (<a class="el" href="class_render.html">Render</a> *render, bool parent_change_transfrom_mat)</td></tr>
<tr class="memdesc:a00bc8885eea7179e1c2cce2d7292754d inherit pro_methods_class_node"><td class="mdescLeft">&#160;</td><td class="mdescRight">访问节点  <a href="class_node.html#a00bc8885eea7179e1c2cce2d7292754d">更多...</a><br /></td></tr>
<tr class="separator:a00bc8885eea7179e1c2cce2d7292754d inherit pro_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92797409cccb5e9aeccdd41d5c453425 inherit pro_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a92797409cccb5e9aeccdd41d5c453425"></a>
<a class="el" href="class_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><b>convertToRenderCoordinate</b> (const <a class="el" href="class_vector2.html">Vector2</a> &amp;v)</td></tr>
<tr class="separator:a92797409cccb5e9aeccdd41d5c453425 inherit pro_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91bda5d230357b9d698cfeaab529d583 inherit pro_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a91bda5d230357b9d698cfeaab529d583"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateTransformMat</b> (bool prant_transformMat_is_change)</td></tr>
<tr class="separator:a91bda5d230357b9d698cfeaab529d583 inherit pro_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee847242c098d5b10376d3dc4fd737e3 inherit pro_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="aee847242c098d5b10376d3dc4fd737e3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>changeTransformMat</b> ()</td></tr>
<tr class="separator:aee847242c098d5b10376d3dc4fd737e3 inherit pro_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48ea63b0cc955196e32f03a97e1b3612 inherit pro_methods_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a48ea63b0cc955196e32f03a97e1b3612"></a>
const <a class="el" href="class_matrix4_x4.html">Matrix4X4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getParentTransformMat</b> () const</td></tr>
<tr class="separator:a48ea63b0cc955196e32f03a97e1b3612 inherit pro_methods_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_object')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_object.html">Object&lt; Node &gt;</a></td></tr>
<tr class="memitem:abbe7e8e32c5b4fa20c5f0ef918aba3df inherit pro_methods_class_object"><td class="memItemLeft" align="right" valign="top"><a id="abbe7e8e32c5b4fa20c5f0ef918aba3df"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Object</b> (<a class="el" href="class_node.html">Node</a> *parent=nullptr)</td></tr>
<tr class="separator:abbe7e8e32c5b4fa20c5f0ef918aba3df inherit pro_methods_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_types_class_node"><td colspan="2" onclick="javascript:toggleInherit('pro_types_class_node')"><img src="closed.png" alt="-"/>&#160;Protected 类型 继承自 <a class="el" href="class_node.html">Node</a></td></tr>
<tr class="memitem:a0e534c0cc2a1efa144dc7f8ba7351d39 inherit pro_types_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a0e534c0cc2a1efa144dc7f8ba7351d39"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>FuncAtPosChangeAfter</b> = std::function&lt; void(const <a class="el" href="class_vector2.html">Vector2</a> &amp;old_pos, const <a class="el" href="class_vector2.html">Vector2</a> &amp;now_pos)&gt;</td></tr>
<tr class="separator:a0e534c0cc2a1efa144dc7f8ba7351d39 inherit pro_types_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_node"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_node')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_node.html">Node</a></td></tr>
<tr class="memitem:a06ffaffa5be3256def1e3a93835fdf41 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a06ffaffa5be3256def1e3a93835fdf41"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_visible</b></td></tr>
<tr class="separator:a06ffaffa5be3256def1e3a93835fdf41 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03b0cd27e829d7a134a855872418676b inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a03b0cd27e829d7a134a855872418676b"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_localZOrder</b></td></tr>
<tr class="separator:a03b0cd27e829d7a134a855872418676b inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada8946ec0979551303649c6578922bea inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="ada8946ec0979551303649c6578922bea"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_globalZOrder</b></td></tr>
<tr class="separator:ada8946ec0979551303649c6578922bea inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e3cd4c9e241b2104a3ae2ceb8ed6037 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a4e3cd4c9e241b2104a3ae2ceb8ed6037"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_isNeedSort</b></td></tr>
<tr class="separator:a4e3cd4c9e241b2104a3ae2ceb8ed6037 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6470f18fdb05ed64aa452c11f34c1dc inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="ae6470f18fdb05ed64aa452c11f34c1dc"></a>
<a class="el" href="class_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_position</b></td></tr>
<tr class="separator:ae6470f18fdb05ed64aa452c11f34c1dc inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78f60bf2f78f54497757c01a86ba738d inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a78f60bf2f78f54497757c01a86ba738d"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>m_rotation</b></td></tr>
<tr class="separator:a78f60bf2f78f54497757c01a86ba738d inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a6fe347d513af000d0dab3f1ba98390 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a3a6fe347d513af000d0dab3f1ba98390"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>m_scalingX</b></td></tr>
<tr class="separator:a3a6fe347d513af000d0dab3f1ba98390 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e1a2758d331b320800854ecd65730a6 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a7e1a2758d331b320800854ecd65730a6"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>m_scalingY</b></td></tr>
<tr class="separator:a7e1a2758d331b320800854ecd65730a6 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e28ee30c9c1ae70b06c6e3e5769c549 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a7e28ee30c9c1ae70b06c6e3e5769c549"></a>
<a class="el" href="class_matrix4_x4.html">Matrix4X4</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_transformMat</b></td></tr>
<tr class="separator:a7e28ee30c9c1ae70b06c6e3e5769c549 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea2bdd21633666a8ad162fb51894c50d inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="aea2bdd21633666a8ad162fb51894c50d"></a>
<a class="el" href="class_camera.html">Camera</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_camera</b></td></tr>
<tr class="separator:aea2bdd21633666a8ad162fb51894c50d inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9c88161de797bbcb17bf932c17d47eb inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="ac9c88161de797bbcb17bf932c17d47eb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_isChangeTransforMat</b></td></tr>
<tr class="separator:ac9c88161de797bbcb17bf932c17d47eb inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2650a5abbb7052437fbc51ba84ee4711 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a2650a5abbb7052437fbc51ba84ee4711"></a>
<a class="el" href="class_action_manager.html">ActionManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_actionManager</b></td></tr>
<tr class="separator:a2650a5abbb7052437fbc51ba84ee4711 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97242c3bfcec6f1c6d605d1b2e46f641 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a97242c3bfcec6f1c6d605d1b2e46f641"></a>
<a class="el" href="class_game_world.html">GameWorld</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_gameWorld</b></td></tr>
<tr class="separator:a97242c3bfcec6f1c6d605d1b2e46f641 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af55681037c073217aa0d5b5ad7239d68 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="af55681037c073217aa0d5b5ad7239d68"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_running</b></td></tr>
<tr class="separator:af55681037c073217aa0d5b5ad7239d68 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18d84757dbe9ac899f0a37cfc3ebb7a7 inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a18d84757dbe9ac899f0a37cfc3ebb7a7"></a>
std::unique_ptr&lt; std::function&lt; void(<a class="el" href="class_vector2.html">Vector2</a> &amp;position)&gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_onPositionChangeBefore</b></td></tr>
<tr class="separator:a18d84757dbe9ac899f0a37cfc3ebb7a7 inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43e7e1e3b16a5e49f92aacfd63f3c6de inherit pro_attribs_class_node"><td class="memItemLeft" align="right" valign="top"><a id="a43e7e1e3b16a5e49f92aacfd63f3c6de"></a>
std::unique_ptr&lt; FuncAtPosChangeAfter &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_onPositionChangeAfter</b></td></tr>
<tr class="separator:a43e7e1e3b16a5e49f92aacfd63f3c6de inherit pro_attribs_class_node"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_object')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_object.html">Object&lt; Node &gt;</a></td></tr>
<tr class="memitem:a98a7eb09cd4383b747b3e73eda0215e4 inherit pro_attribs_class_object"><td class="memItemLeft" align="right" valign="top"><a id="a98a7eb09cd4383b747b3e73eda0215e4"></a>
<a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_parent</b></td></tr>
<tr class="separator:a98a7eb09cd4383b747b3e73eda0215e4 inherit pro_attribs_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33edb9c86f8fb8d641f185cbf5173821 inherit pro_attribs_class_object"><td class="memItemLeft" align="right" valign="top"><a id="a33edb9c86f8fb8d641f185cbf5173821"></a>
std::list&lt; <a class="el" href="class_node.html">Node</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_childrenList</b></td></tr>
<tr class="separator:a33edb9c86f8fb8d641f185cbf5173821 inherit pro_attribs_class_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>精灵贴图 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a9246531b2aee83f3aca98acf90808737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9246531b2aee83f3aca98acf90808737">&#9670;&nbsp;</a></span>create() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_sprite.html">Sprite</a>* Sprite::create </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_node.html">Node</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用图片创建一个精灵 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; file_name 图片的路径 </td></tr>
    <tr><td class="paramname">Node*</td><td>parent 精灵的父节点，默认为NULL </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Sprite* 精灵实例的指针。当创建精灵失败时，指针为空 </dd></dl>

</div>
</div>
<a id="aa1714066bf44d9043807e5459e600d08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1714066bf44d9043807e5459e600d08">&#9670;&nbsp;</a></span>create() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_sprite.html">Sprite</a>* Sprite::create </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_sprite_frame.html">SpriteFrame</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>sprite_frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_node.html">Node</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用精灵帧创建一个精灵 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;SpriteFrame&gt; &amp; sprite_frame 精灵帧的指针 </td></tr>
    <tr><td class="paramname">Node*</td><td>parent 父节点 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Sprite* 精灵实例的指针。当创建精灵失败时，指针为空 </dd></dl>

</div>
</div>
<a id="aae2b104096fda21a0179fb686f86c1c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae2b104096fda21a0179fb686f86c1c5">&#9670;&nbsp;</a></span>create() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_sprite.html">Sprite</a>* Sprite::create </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_texture2_d.html">Texture2D</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>texture2D</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>des_rect_in_texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_node.html">Node</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用 大块纹理 和 精灵在纹理中的矩形位置 创建精灵 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;Texture2D&gt; &amp; texture2D 纹理，这个纹理是包含多个精灵的纹理 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_rect.html" title="矩形">Rect</a> &amp; des_rect_in_texture 精灵在纹理中的位置 </td></tr>
    <tr><td class="paramname">Node*</td><td>parent 父节点 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Sprite* 精灵实例的指针。当创建精灵失败时，指针为空 </dd></dl>

</div>
</div>
<a id="a92aa267f938be35cc54d4e72ec49579b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92aa267f938be35cc54d4e72ec49579b">&#9670;&nbsp;</a></span>create() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_sprite.html">Sprite</a>* Sprite::create </td>
          <td>(</td>
          <td class="paramtype">const std::wstring&#160;</td>
          <td class="paramname"><em>texture_filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>des_rect_in_texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_node.html">Node</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用图片创建精灵，并且指定精灵在图片中的区域 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring texture_filename 图片名字 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_rect.html" title="矩形">Rect</a> &amp; des_rect_in_texture 精灵在纹理中的位置 </td></tr>
    <tr><td class="paramname">Node*</td><td>parent 父节点 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Sprite* 精灵实例的指针。当创建精灵失败时，指针为空 </dd></dl>

</div>
</div>
<a id="adbc84dcffb2798573556404a210d45df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbc84dcffb2798573556404a210d45df">&#9670;&nbsp;</a></span>draw()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Sprite::draw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_render.html">Render</a> *&#160;</td>
          <td class="paramname"><em>render</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_matrix4_x4.html">Matrix4X4</a> &amp;&#160;</td>
          <td class="paramname"><em>transform</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>绘制这个节点 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_render.html" title="渲染">Render</a></td><td>* render 渲染器 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_matrix4_x4.html">Matrix4X4</a> &amp; transform 变换矩阵 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>重载 <a class="el" href="class_node.html#af5a9eefcd1135f22559e6c57fd333f24">Node</a> .</p>

</div>
</div>
<a id="ac415439586ac5adb7a8d847c09af6a46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac415439586ac5adb7a8d847c09af6a46">&#9670;&nbsp;</a></span>getSpriteFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual SpriteFrameSharedPtr Sprite::getSpriteFrame </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取精灵的精灵帧 结果可能为 NULL </p>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;SpriteFrame&gt; </dd></dl>

<p>实现了 <a class="el" href="class_i_animatable_object.html#ae5ab7edac89c5f9e47fadd2dd99f1648">IAnimatableObject</a>.</p>

</div>
</div>
<a id="ade186a070e2d042fef69f22aae684ea4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade186a070e2d042fef69f22aae684ea4">&#9670;&nbsp;</a></span>initWithFile() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Sprite::initWithFile </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>file_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用文件初始化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; file_name 图片文件名 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a26a66d4a5e5d1c000789e943e1ace18c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26a66d4a5e5d1c000789e943e1ace18c">&#9670;&nbsp;</a></span>initWithFile() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Sprite::initWithFile </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>des_rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用图片文件初始化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; file_name 图片文件 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_rect.html" title="矩形">Rect</a> &amp; des_rect 精灵在图片中的区域 矩形为 左下角 + 尺寸 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="ae0ce3e71d3c09238c8799e6159fc6782"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0ce3e71d3c09238c8799e6159fc6782">&#9670;&nbsp;</a></span>initWithSpriteFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Sprite::initWithSpriteFrame </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_sprite_frame.html">SpriteFrame</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>sf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用精灵帧初始化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;SpriteFrame&gt; &amp; sf 精灵帧 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="ae4234ccb5bbe119b7946c36285f949c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4234ccb5bbe119b7946c36285f949c7">&#9670;&nbsp;</a></span>initWithTexture()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Sprite::initWithTexture </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_texture2_d.html">Texture2D</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>tex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>des_rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用纹理初始化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;Texture2D&gt; &amp; tex 纹理 </td></tr>
    <tr><td class="paramname">const</td><td><a class="el" href="class_rect.html" title="矩形">Rect</a> &amp; des_rect 精灵在纹理中的区域 矩形为 左下角+ 尺寸 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="ac33063e401381da93e869f01db256cd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac33063e401381da93e869f01db256cd6">&#9670;&nbsp;</a></span>setAnchorPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Sprite::setAnchorPoint </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vector2.html">Vector2</a> &amp;&#160;</td>
          <td class="paramname"><em>anchor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置精灵的坐标锚点 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_vector2.html" title="2D向量">Vector2</a> &amp; anchor 锚点 值的范围为 [0，1]，默认该属性为（0.5，0.5） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a50385f72b0e8471312376525996227ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50385f72b0e8471312376525996227ae">&#9670;&nbsp;</a></span>setFlipH()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Sprite::setFlipH </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flip</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置水平镜像 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>flip 是否镜像 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="aa68ad73f4c7abfbd9d8a6bc5f5fe4bed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa68ad73f4c7abfbd9d8a6bc5f5fe4bed">&#9670;&nbsp;</a></span>setFlipV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Sprite::setFlipV </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flip</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置垂直镜像 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>flip 是否镜像 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a372333cebe2fa3e31f51e7be4fd51028"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a372333cebe2fa3e31f51e7be4fd51028">&#9670;&nbsp;</a></span>setSpriteFrame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Sprite::setSpriteFrame </td>
          <td>(</td>
          <td class="paramtype">const SpriteFrameSharedPtr &amp;&#160;</td>
          <td class="paramname"><em>sprite_frame</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置精灵的精灵帧 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;SpriteFrame&gt; &amp; sprite_frame 精灵帧 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>实现了 <a class="el" href="class_i_animatable_object.html#aa45df3f720b90aefd3cb1329ac5c811e">IAnimatableObject</a>.</p>

</div>
</div>
<a id="ab5f856a91f7cf23a72a58d7d1b5b3f0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5f856a91f7cf23a72a58d7d1b5b3f0f">&#9670;&nbsp;</a></span>setTexture()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Sprite::setTexture </td>
          <td>(</td>
          <td class="paramtype">const std::shared_ptr&lt; <a class="el" href="class_texture2_d.html">Texture2D</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>texture</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置纹理 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;Texture2D&gt; &amp; texture 纹理 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="section note"><dt>注解</dt><dd>仅仅设置 不更新 </dd></dl>

</div>
</div>
<a id="aa3139784e38b5b9e67fa44e2705fa72b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3139784e38b5b9e67fa44e2705fa72b">&#9670;&nbsp;</a></span>setTextureCoords()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Sprite::setTextureCoords </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>sprite_rect_in_tex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_v2_c4_t2___quad.html">V2C4T2_Quad</a> *&#160;</td>
          <td class="paramname"><em>out_quad</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置纹理坐标 适用于 将多个精灵纹理打包一个大的纹理 通过 <code>sprit_rect</code> 确定纹理坐标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_rect.html" title="矩形">Rect</a> &amp; sprite_rect 精灵的大小 </td></tr>
    <tr><td class="paramname"><a class="el" href="struct_v2_c4_t2___quad.html">V2C4T2_Quad</a></td><td>* out_quad 将纹理位置输出到 四方形 结构中 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="af47e87134f9d90ab03de3d90c01256b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af47e87134f9d90ab03de3d90c01256b7">&#9670;&nbsp;</a></span>setVertexCoords()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Sprite::setVertexCoords </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>sprite_rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_v2_c4_t2___quad.html">V2C4T2_Quad</a> *&#160;</td>
          <td class="paramname"><em>out_quad</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置顶点坐标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_rect.html" title="矩形">Rect</a> &amp; sprite_rect 精灵的矩形 </td></tr>
    <tr><td class="paramname"><a class="el" href="struct_v2_c4_t2___quad.html">V2C4T2_Quad</a></td><td>* out_quad 将顶点位置输出到 四方形 结构中 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="aaf733fd6a3c863f30013276e30adfbb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf733fd6a3c863f30013276e30adfbb2">&#9670;&nbsp;</a></span>updateFilp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Sprite::updateFilp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>更新镜像 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a14dfd9c50fdbc8de56e22e3ede69375e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14dfd9c50fdbc8de56e22e3ede69375e">&#9670;&nbsp;</a></span>updateRenderResource()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Sprite::updateRenderResource </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>更新渲染资源 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/node/<a class="el" href="_sprite_8h_source.html">Sprite.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
